package com.elitedatai.mchtest.control.model.param;

import com.elitedatai.mchtest.control.model.enums.PayloadCommandsEnum;
import lombok.Data;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;


@Data
public class PayloadCommandsParam {

    private String sn;

    @NotNull
    @Valid
    private PayloadCommandsEnum cmd;

    @Valid
    @NotNull
    private DronePayloadParam data;

}
